package teach.day05;

import java.util.*;

//双色球
public class P08DoubleColorBalls {
    public static void main(String[] args) {
        List<Integer> list = new Vector<>();
        for (int i = 1; i <= 15; i++) {
            list.add(i);
        }
        System.out.println(list);
        Collections.shuffle(list);
        System.out.println(list.subList(0, 6));
    }
}
